import { post, get } from '@/utils/http'
import config from '@/config/api'

// 角色列表
export const roleListApi = (page = 1) => get(config.role + '?page=' + page)

// 添加角色
export const addRoleApi = data => post(config.role, data)
